<%@page import="helpers.DateHelper"%>
<%@page import="models.CooperationModel"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.util.TreeMap"%>
<%@page import="helpers.UrlHelper"%>
<%
CooperationModel cooperation = (CooperationModel) request.getAttribute("cooperation");
String form = (String) request.getAttribute("form");
%>

<jsp:include page="/admin/layouts/header.jsp">
    <jsp:param name="language" value="1" />
</jsp:include>

<script type="text/javascript" src="/admin/js/form_cooperation.js"></script>
		
		<div class="maincontent noright">
        	<div class="maincontentinner">
                <ul class="maintabmenu multipletabmenu">
                	<li class="current"><a href="#">Liên hệ hợp tác</a></li>
                </ul><!--maintabmenu-->
                
                <div class="content">
                    <div class="contenttitle">
                    	<h2 class="form"><span>Thông tin liên hệ</span></h2>
                    </div><!--contenttitle-->
            
                    <form method="get" action="#" class="stdform stdform2" id="view-cooperation">
                        <p>
                        	<label>Họ tên</label>
                            <span class="field">
                            	<%=cooperation.getName() %>
                            </span>
                        </p>
                        <p>
                        	<label>Email</label>
                            <span class="field">
                            	<%=cooperation.getEmail() %>
                            </span>
                        </p>
                        <p>
                        	<label>Điện thoại</label>
                            <span class="field">
                            	<%=cooperation.getPhone() %>
                            </span>
                        </p>
                        <p>
                        	<label>Tên công ty</label>
                            <span class="field">
                            	<%=cooperation.getCompany() %>
                            </span>
                        </p>
                        <p>
                        	<label>Địa chỉ</label>
                            <span class="field">
                            	<%=cooperation.getPhone() %>
                            </span>
                        </p>
                        <p>
                        	<label>Khu vực</label>
                            <span class="field">
                            	<%=cooperation.getCity() %>
                            </span>
                        </p>
                        <p>
                        	<label>Nội dung</label>
                            <span class="field">
                            	<%=cooperation.getContent() %>
                            </span>
                        </p>
                        <p>
                        	<label>Ngày tạo</label>
                            <span class="field">
                            	<%=DateHelper.dateToString(cooperation.getCreated(), "dd-MM-yyyy")  %>
                            </span>
                        </p>
                        <p class="stdformbutton">
                        	<button class="submit radius2">Trở lại</button>
                        </p>
                    </form>
                    
                    <br clear="all">
                    
                </div><!--content-->
                
            </div><!--maincontentinner-->
            
            <jsp:include page="/admin/elements/copyright.jsp">
            	<jsp:param name="language" value="1" />
			</jsp:include>
            
        </div>

<jsp:include page="/admin/layouts/footer.jsp">
    <jsp:param name="language" value="1" />
</jsp:include>